<?php

require_once('../functions/mainFns.php');
session_start();
do_html_header('个人','myPage','myPage');
$userid = @$_SESSION['userid'];
$headSrc = getuserheadsrc($userid);
$userdetail = getuserdetail($userid);
$nickname = $userdetail->nickname;

?>
<div class="HeadBar">
	<div class="headLeftBtn  center-block text-center" onclick="javascript:history.go(-1);">
		<div class="fa fa-arrow-left fa-lg backBtn" ></div>
	</div>
	<div class='headCenterInfo center-block text-center'>我的主页</div>
	<div class='headRightBtn center-block text-center'></div>
</div>

<div class='personal-page'>
	<div class='userHeadDiv'>
		<div class='intro-left'>头像</div>
		<img class='userHeadIcon' src='<?php echo $headSrc;?>'>
	</div>
	<input class='uploadhead' type='file'  onchange="uploadhead(this)">
	<hr>
	<div class='userNicknameDiv'>
		<div class='intro-left'>昵称</div>
		<div class='userNickName'><?php echo $nickname;?></div>
	</div>
</div>


<!--展示底部导航栏-->

<?php

//displayIndexFooterBar();
//displaySubmitMenu();

displayMist();
displayWait();
do_html_footer();

?>